package com.dcits.agent.loader;

/**
 * @className: ModifyClassLoader
 * @description:
 * @author: caoyangjie
 * @date: 2025/6/22
 **/
public class ModifyClassLoader extends ClassLoader {

    public ModifyClassLoader(ClassLoader parent) {
        super(parent);
    }

    public Class defineClassFromBytes(String className, byte[] classBytes) {
        return defineClass(className, classBytes, 0, classBytes.length);
    }
}
